package com.kapcb.schedule.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <a>Title: XxlJobProperties </a>
 * <a>Author: kapcb <a>
 * <a>Description: XxlJobProperties <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/5/29 20:54
 * @since 1.0
 */
@Data
@ConfigurationProperties(prefix = "xxl.job")
public class XxlJobProperties {

    /**
     * xxl-job 执行器名称
     */
    private String title;

    /**
     * xxl-job admin 地址
     */
    private String adminAddresses;

    private String accessToken;

    /**
     * 应用名称
     */
    private String appName;

    private String address;

    private String ip;

    private int port;

    private String logPath;

    private int logRetentionDays;

    /**
     * xxl-job admin 用户名
     */
    private String username;

    /**
     * xxl-job admin 密码
     */
    private String password;

}
